<html>
	<head>
		<script type="text/javascript">
			function changeImage(s){
			    s.src = s.src.match('bulboff')?"/images/pic_bulbon.gif":"/images/pic_bulboff.gif";
			}
		</script>
	</head>
	<body>
		<img id="myimage" onclick="changeImage(this)" src="/images/pic_bulboff.gif" width="100" height="180">
		<p>点击灯泡就可以打开或关闭这盏灯</p>		
	</body>
</html>


